
<fieldset><legend>追踪货件</legend>
<table>
	<tr>
		<td width="20%" align="right">追踪编码：</td>
		<td width="80%">{[$result.code]}</td>
	</tr>
	<tr>
		<td align="right">状态：</td>
		<td>{[$result.dst]}</td>
	</tr>
	<tr>
		<td align="right">运送日期：</td>
		<td>{[$result.pickupdate]}</td>
	</tr>
	<tr>
		<td align="right">地点：</td>
		<td>{[$result.number]}</td>
	</tr>
	<tr>
		<td align="right">运送至：</td>
		<td>{[$result.deliver_to]} {[$result.signed_for]}</td>
	</tr>
	<tr>
		<td align="right">参考编码：</td>
		<td>{[$result.Shipment.ReferenceNumber[0].Value]}. {[$result.Shipment.ReferenceNumber[1].Value]}</td>
	</tr>
	<tr>
		<td align="right">类型：</td>
		<td>{[$result.package_type_description]}</td>
	</tr>
	<tr>
		<td align="right">服务：</td>
		<td>{[$result.Shipment.Service.Description]}</td>
	</tr>
	<tr>
		<td align="right">重量：</td>
		<td>{[$result.total_package_weight]} {[$result.weight_units]}</td>
	</tr>
</table>
</fieldset>

<fieldset><legend>包裹进度</legend>
<table>
	<tr align="center">
		<th width="40">序号</th>
		<th>地点</th>
		<th>日期</th>
		<th>当地时间</th>
		<th>描述</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result.Activity]} 
	{[assign var="no" value="`$key+1`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td>{[$item.city]} {[$item.country]}</td>
		<td>{[$item.date]} {[$item.time]}</td>
		<td>{[$item.way_t]}</td>
		<td>{[$item.action]}</td>
	</tr>
	{[/foreach]}
</table>
</fieldset>
